package com.cans;

/**
 * 总监审批节点 大于等于3000时进行审批
 *
 * @author cans
 * @date 2022/4/26
 **/
public class ChiefApprove extends AbstractApprove {

    public ChiefApprove() {
        this.setLv(CHIEF);
    }

    @Override
    public void approve(String username, Double amount) {
        if (amount >= 3000) {
            System.out.println("总监进行审批username: " + username + " amount: " + amount);
        }
    }
}
